import React from 'react';
import {HashRouter,Switch,Route} from 'react-router-dom';
import SecondPage from '../pages/secondPage/secondPage.js'
import FirstPage from '../pages/firstPage/firstPage.js'
import thirdPage from '../pages/thirdPage/thirdPage.js'
class RouterPage extends React.Component {
    render(){
        return <HashRouter>
                    <Switch>
                        <Route path='/' component={FirstPage} exact ></Route>
                        <Route path='/secondPage' component={SecondPage} exact></Route>
                        <Route path='/thirdPage' component={thirdPage} exact></Route>    
                    </Switch>      
                </HashRouter>
    }
}
export default RouterPage
